<!--基础信息-->
<template>
    <div>
        <el-form label-suffix="：" :label-width="attrs.hasOwnProperty('width')&&attrs.width?attrs.width:'120px'">
            <el-row :gutter="10">
                <el-col v-for="item in label" :span="item.col?item.col:8" :key="item.prop">
                    <el-form-item :label="item.label">
                        <span>{{data[item.prop]}}</span>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
    </div>
</template>

<script>
export default {
    components: {},
    mixins: [],
    props: {
        attrs: {
            type: Object,
            default() {
                return {};
            }
        },
        data: {
            type: Object
        },
        label: {
            type: Array
        }
    },
    data() {
        return {

        };
    },
    computed: {

    },
    created() {

    },
    mounted() {

    },
    methods: {

    }
};
</script>

<style scoped lang="scss">
</style>
